package com.xlk.xfire.serviec.impl;

import java.util.ArrayList;
import java.util.List;

import com.xlk.xfire.domian.Reader;
import com.xlk.xfire.serviec.IReaderService;

public class ReaderService implements IReaderService{
	public Reader getReader(String name,String password) {
		return new Reader(name,password);
	}
	
	public List<Reader> getReaders(){
		List<Reader> readerList = new ArrayList<Reader>();
		readerList.add(new Reader("shun1","123"));
		readerList.add(new Reader("shun2","123"));
		return readerList;
	}
}